﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCS.XNA.CombatBiplanes
{
    public class Player
    {
        private int _number;
        public int Number
        {
            get { return this._number; }
            set { this._number = value; }
        }

        private int _lifes;
        public int Lifes
        {
            get { return this._lifes; }
            set { this._lifes = value; }
        }

        public Player(int number, int lifes)
        {
            this._number = number;
            this._lifes = lifes;
        }

        public void LoseLife()
        {
            this._lifes--;
        }

        public override string ToString()
        {
            return string.Format("Player {0}", this._number);
        }
    }
}
